package com.jh.pattern.singleton.register;

/**
 * @author JH_Wong
 * @projectName newforward
 * @title EnumSingleton.java
 * @package com.jh.pattern.singleton.register
 * @description 枚举单例
 * @date 2019-05-23 11:38
 */
public enum EnumSingleton {

    INSTANCE;

    private Object object;

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public static EnumSingleton getInstance(){
        return INSTANCE;
    }
}
